package com.java.star.mall.front.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分类以及分类商品VO
 */
@Data
public class CategoryProductVO implements Serializable {

    private static final long serialVersionUID = 1687590364005828811L;

    @ApiModelProperty(value = "分类id")
    private Integer id;

    @ApiModelProperty(value = "分类名")
    private String name;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "二级分类")
    private List<CategoryLevel2VO> categoryLevel2List;
}
